Skip to content

Conversation

hemantmm
Copy link
Contributor

Resolves #4977

Description

What is the purpose of this pull request?

This pull request:

  • Refactor random number generation in JS benchmarks for stats/base/dists/levy

Related Issues

Does this pull request have any related issues?

This pull request:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.


@stdlib-js/reviewers

Sorry, something went wrong.

Signed-off-by: hemantmm <[email protected]>
@stdlib-bot stdlib-bot added Statistics Issue or pull request related to statistical functionality. Needs Review A pull request which needs code review. Good First PR A pull request resolving a Good First Issue. labels Mar 14, 2025
Signed-off-by: hemantmm <[email protected]>
@stdlib-bot
Copy link
Contributor

stdlib-bot commented Mar 14, 2025

Coverage Report

Package Statements Branches Functions Lines
stats/base/dists/levy/cdf 234 / 234
+ 100.00 %
21 / 21
+ 100.00 %
3 / 3
+ 100.00 %
234 / 234
+ 100.00 %
stats/base/dists/levy/ctor 420 / 420
+ 100.00 %
32 / 32
+ 100.00 %
16 / 16
+ 100.00 %
420 / 420
+ 100.00 %
stats/base/dists/levy/entropy 120 / 120
+ 100.00 %
7 / 7
+ 100.00 %
1 / 1
+ 100.00 %
120 / 120
+ 100.00 %
stats/base/dists/levy/logcdf 238 / 238
+ 100.00 %
21 / 21
+ 100.00 %
3 / 3
+ 100.00 %
238 / 238
+ 100.00 %
stats/base/dists/levy/logpdf 222 / 222
+ 100.00 %
21 / 21
+ 100.00 %
3 / 3
+ 100.00 %
222 / 222
+ 100.00 %
stats/base/dists/levy/mean 176 / 176
+ 100.00 %
9 / 9
+ 100.00 %
2 / 2
+ 100.00 %
176 / 176
+ 100.00 %
stats/base/dists/levy/mode 175 / 175
+ 100.00 %
9 / 9
+ 100.00 %
2 / 2
+ 100.00 %
175 / 175
+ 100.00 %
stats/base/dists/levy/pdf 216 / 216
+ 100.00 %
21 / 21
+ 100.00 %
3 / 3
+ 100.00 %
216 / 216
+ 100.00 %
stats/base/dists/levy/stdev 176 / 176
+ 100.00 %
9 / 9
+ 100.00 %
2 / 2
+ 100.00 %
176 / 176
+ 100.00 %
stats/base/dists/levy/variance 176 / 176
+ 100.00 %
9 / 9
+ 100.00 %
2 / 2
+ 100.00 %
176 / 176
+ 100.00 %

The above coverage report was generated for the changes in this PR.

Signed-off-by: hemantmm <[email protected]>
Signed-off-by: hemantmm <[email protected]>
@hemantmm
Copy link
Contributor Author

@anandkaranubc have a look at the PR.

@Planeshifter Planeshifter added the Potential Duplicate There might be another pull request resolving the same issue. label Mar 15, 2025
@hemantmm
Copy link
Contributor Author

@anandkaranubc any update?

Signed-off-by: Athan <[email protected]>
kgryte added 2 commits March 22, 2025 16:14
…ian/benchmark/benchmark.js
…ian/benchmark/benchmark.native.js
kgryte added 2 commits March 22, 2025 16:17
…ntile/benchmark/benchmark.js
…ntile/benchmark/benchmark.native.js
Signed-off-by: Athan <[email protected]>
Copy link
Member

@kgryte kgryte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after clean-up.

@kgryte kgryte added Benchmarks Pull requests adding or improving benchmarks for measuring performance. and removed Needs Review A pull request which needs code review. Potential Duplicate There might be another pull request resolving the same issue. labels Mar 22, 2025
@kgryte kgryte merged commit 73050cb into stdlib-js:develop Mar 22, 2025
29 checks passed
Girish-Garg pushed a commit to Girish-Garg/stdlib that referenced this pull request Mar 23, 2025
PR-URL: stdlib-js#6044
Closes: stdlib-js#4977
Co-authored-by: Athan Reines <[email protected]>
Reviewed-by: Athan Reines <[email protected]> 
Signed-off-by: hemantmm <[email protected]>
Signed-off-by: Athan Reines <[email protected]>
sahil20021008 pushed a commit to sahil20021008/stdlib that referenced this pull request Mar 26, 2025
PR-URL: stdlib-js#6044
Closes: stdlib-js#4977
Co-authored-by: Athan Reines <[email protected]>
Reviewed-by: Athan Reines <[email protected]> 
Signed-off-by: hemantmm <[email protected]>
Signed-off-by: Athan Reines <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Benchmarks Pull requests adding or improving benchmarks for measuring performance. Good First PR A pull request resolving a Good First Issue. Statistics Issue or pull request related to statistical functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[RFC]: Refactor random number generation in JS benchmarks for stats/base/dists/levy
4 participants